<?php

namespace app\admin\validate;

use think\Validate;

class CouponValidate extends Validate
{
    protected $rule = [
       'ship_area_id|配送点'  => 'require',
       'name|名称'  => 'require|max:25',
       'money|抵扣金额'  => 'require',
       //'condition|抵扣条件'  => 'require',
       'send_start_time|发放开始时间'  => 'require',
       'send_end_time|发放结束时间'  => 'require',
       'use_start_time|使用开始时间'  => 'require',
       'use_end_time|使用结束时间'  => 'require',
       'create_num|发放数量'  => 'require',
    ];

}